{include file="{$element}header_login.inc.tpl"}
<!-- BEGIN LOGIN FORM -->
<form class="login-form" action="{$url}/{$module}/{$controller}/login" method="post">
    <h3 class="form-title">Login</h3>

    <div class="alert alert-danger display-hide">
        <button class="close" data-close="alert"></button>
        <span>Entre com seu usuario e senha. </span>
    </div>
    {if !empty($flashMessage)}
        {$flashMessage}
    {/if}
    <div class="form-group {$usernameError|default:''}">
        <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
        <label class="control-label visible-ie8 visible-ie9">Usuário</label>
        <div class="input-icon input-icon-lg">
            <i class="fa fa-user"></i>
            <input class="form-control placeholder-no-fix to-lowercase" type="text" autocomplete="off" placeholder="Usuário" required="" value="{$data['username']|default:''}" name="username"/>
        </div>
        {$usernameMessage|default:''}
    </div>
    <div class="form-group">
        <label class="control-label visible-ie8 visible-ie9">Senha</label>
        <div class="input-icon input-icon-lg">
            <i class="fa fa-lock fa-fw"></i>
            <input class="form-control placeholder-no-fix no-uppercase" type="password" required="" autocomplete="off" placeholder="Senha" name="password"/>
        </div>
    </div>
    <div class="form-actions">
        {*<label class="checkbox">
            <input type="checkbox" name="remember" value="1"/> Remember me
        </label>*}
        <button type="submit" class="btn btn-success uppercase">Login </button>
    </div>
    <div class="forget-password">
        <h4>Esqueceu sua Senha ?</h4>
        <p>não se preocupe, clique <a href="javascript:;" id="forget-password">aqui</a>
            para recuperar sua senha.
        </p>
    </div>
</form>
<!-- END LOGIN FORM -->
<!-- BEGIN FORGOT PASSWORD FORM -->
<form class="forget-form" action="index.html" method="post">
    <h3>Esqueceu sua Senha ?</h3>
    <p>
        Entre com seu endereço de email para poder recupar sua senha.
    </p>
    <div class="form-group">
        <div class="input-icon input-icon-md">
            <i class="fa fa-envelope"></i>
            <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="Email" name="email"/>
        </div>
    </div>
    <div class="form-actions">
        <button type="button" id="back-btn" class="btn btn-default">Voltar</button>
        <button type="submit" class="btn btn-success pull-right uppercase">Enviar</button>
    </div>
</form>
<!-- END FORGOT PASSWORD FORM -->
{include file="{$element}footer_login.inc.tpl"}